package com.huike.pmps.service;

import com.huike.pmps.model.dto.common.PageInfo;
import com.huike.pmps.model.entity.Member;
import com.huike.pmps.model.entity.POCourseSupplierDetail;
import com.huike.pmps.model.vo.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 作者：谌贵斌(黑桃K)
 * 日期: 2888-08-08
 * 老师QQ: 272488352
 * 官方QQ交流群: 377748272
 * 刀客程序员官网：http://www.daoke360.com
 * 刀客程序员淘宝旗舰店：https://daoke360.taobao.com/
 */
public interface POCourseSupplierDetailService {

    Result insertOne(POCourseSupplierDetail poCourseSupplierDetail);

    Result selectByCondition(Member member, PageInfo pageInfo, String po, String customerName, String regionName, String provinceName, String courseName, String courseChargeName, String supplierName);

    Result updateById(POCourseSupplierDetail poCourseSupplierDetail);

    Result deleteById(Integer id);

    Result selectById(Integer id);

    Result selectByPoCourseId(Integer poCourseId);

    void exportCourseSupplier(HttpServletResponse response, String po, String customerName, String regionName, String provinceName, String courseName, String courseChargeName, String supplierName, Member member );

    //导入课程-供应商数据
    Result insertByImportPOCourseSupplierDetail(MultipartFile file);

    POCourseSupplierDetail selectOneByImportServiceId(Integer importServiceId);

}
